package com.zdd.chap4a.service.impl;

import com.zdd.chap4a.entity.ClassInfo;
import com.zdd.chap4a.mapper.ClassinfoMapper;
import com.zdd.chap4a.service.ClassinfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ClassinfoServiceImpl implements ClassinfoService {
    @Autowired
    private ClassinfoMapper classinfoMapper;
    @Override
    public ClassInfo findClassinfoById(int classno) {
        return classinfoMapper.findClassinfoById(classno);
    }
}
